package model3D;

import javax.media.j3d.Group;

import geometry3D.Point3D;
import context.*;


// ***************************************************************************
// *** CLASS: Model3D
// ***************************************************************************
public abstract class Model3D implements Context.Constants
{ //private static final boolean DEBUG=true; // Overriding Context.Constants.DEBUG
  private Point3D p0; // Lower back corner in 3D coordinate space

  public abstract Projection2D plantegning();
  public abstract Projection2D snitt();
  public abstract Projection2D fasadeNorth();
  public abstract Projection2D fasadeSouth();
  public abstract Projection2D fasadeEast();
  public abstract Projection2D fasadeWest();
  
  public Point3D getP0() { return(p0); }

  // *************************************************************************
  // *** CONSTRUCTOR: Model3D
  // *************************************************************************
  public Model3D(Point3D p0)
  { this.p0=p0; }

  public abstract void addModel3D(Group model);

  // ***************************************************************************
  // *** METHOD: tegnGrunnFlate
  // ***************************************************************************
//  public void tegnGrunnFlate (Graphics2D g,Point2D.Double origo2D,double scale) {}

  

  
}